<style scoped lang="scss"></style>
<template>
  <div class="profile-container">
    <UserProfile :userId="userId" @click-back="goBack" />
  </div>
</template>
<script setup>
import UserProfile from '../../components/common/UserProfile.vue';
import { useRoute, useRouter } from 'vue-router';
const router = useRouter();
const route = useRoute();
const userId = route.params.userId;
console.log(userId);
const goBack = () => {
  console.log(1);
  router.
};
</script>